#include "timer.h"

void show_up(void *ctx)
{
	char *buf = (char *)ctx;
	printf("TIMER: %s\n", buf);
	register_timeout(10,0,show_up, (void *)buf);
}

int main(void)
{
	struct timeval now;
	char *buf = "time out now!!!\n";
	
	register_timeout(10, 0, show_up, (void *)buf);
	
	timer_run();
	
	return 0;
}
